import java.io.*;
import java.net.*;

import thothCommonClasses.*;

public class client {
	
	public static void main(String args[])
	{
		try 
		{
			
			communicator comm = new communicator();
						   
			Header h = new Header(Header.HeaderType.GET);
			
			Parameters p = new Parameters();
			p.longitudeMin = (float) 30;
			p.longitudeMax = (float) 50;					
			p.latitudeMin = (float) 30;
			p.latitudeMax = (float) 50;
			
			p.signalType = Data.SignalType.Wifi.toString();
			
			comm.SendHeader(h);
			comm.SendParameters(p);
			
			DataList data = comm.GetDataList();
			
			comm.CloseConection();
			
		}
		catch(Exception e){System.out.println(e);}
	}

}